+Tue Jan 5 19:01:18 1999 Owen Taylor <otaylor@redhat.com>
+
+ * gtk/gtkcolorsel.c (gtk_color_selection_dialog_init): Push
+ GdkRGB's visual and colormap around the color selection
+ dialog so that the window and the previews have the
+ same colormap. If an app adds things to the colorsel
+ dialog, it will have to take care of them itself.
+
Tue Jan 5 15:03:47 1999 Owen Taylor <otaylor@redhat.com>
* gtk/gtkmain.c (gtk_propagate_event): Make
+Tue Jan 5 19:01:18 1999 Owen Taylor <otaylor@redhat.com>
+
+ * gtk/gtkcolorsel.c (gtk_color_selection_dialog_init): Push
+ GdkRGB's visual and colormap around the color selection
+ dialog so that the window and the previews have the
+ same colormap. If an app adds things to the colorsel
+ dialog, it will have to take care of them itself.
+
Tue Jan 5 15:03:47 1999 Owen Taylor <otaylor@redhat.com>
* gtk/gtkmain.c (gtk_propagate_event): Make
+Tue Jan 5 19:01:18 1999 Owen Taylor <otaylor@redhat.com>
+
+ * gtk/gtkcolorsel.c (gtk_color_selection_dialog_init): Push
+ GdkRGB's visual and colormap around the color selection
+ dialog so that the window and the previews have the
+ same colormap. If an app adds things to the colorsel
+ dialog, it will have to take care of them itself.
+
Tue Jan 5 15:03:47 1999 Owen Taylor <otaylor@redhat.com>
* gtk/gtkmain.c (gtk_propagate_event): Make
+Tue Jan 5 19:01:18 1999 Owen Taylor <otaylor@redhat.com>
+
+ * gtk/gtkcolorsel.c (gtk_color_selection_dialog_init): Push
+ GdkRGB's visual and colormap around the color selection
+ dialog so that the window and the previews have the
+ same colormap. If an app adds things to the colorsel
+ dialog, it will have to take care of them itself.
+
Tue Jan 5 15:03:47 1999 Owen Taylor <otaylor@redhat.com>
* gtk/gtkmain.c (gtk_propagate_event): Make
+Tue Jan 5 19:01:18 1999 Owen Taylor <otaylor@redhat.com>
+
+ * gtk/gtkcolorsel.c (gtk_color_selection_dialog_init): Push
+ GdkRGB's visual and colormap around the color selection
+ dialog so that the window and the previews have the
+ same colormap. If an app adds things to the colorsel
+ dialog, it will have to take care of them itself.
+
Tue Jan 5 15:03:47 1999 Owen Taylor <otaylor@redhat.com>
* gtk/gtkmain.c (gtk_propagate_event): Make
+Tue Jan 5 19:01:18 1999 Owen Taylor <otaylor@redhat.com>
+
+ * gtk/gtkcolorsel.c (gtk_color_selection_dialog_init): Push
+ GdkRGB's visual and colormap around the color selection
+ dialog so that the window and the previews have the
+ same colormap. If an app adds things to the colorsel
+ dialog, it will have to take care of them itself.
+
Tue Jan 5 15:03:47 1999 Owen Taylor <otaylor@redhat.com>
* gtk/gtkmain.c (gtk_propagate_event): Make
+Tue Jan 5 19:01:18 1999 Owen Taylor <otaylor@redhat.com>
+
+ * gtk/gtkcolorsel.c (gtk_color_selection_dialog_init): Push
+ GdkRGB's visual and colormap around the color selection
+ dialog so that the window and the previews have the
+ same colormap. If an app adds things to the colorsel
+ dialog, it will have to take care of them itself.
+
Tue Jan 5 15:03:47 1999 Owen Taylor <otaylor@redhat.com>
* gtk/gtkmain.c (gtk_propagate_event): Make
typedef enum {
GDK_DRAG_PROTO_MOTIF,
GDK_DRAG_PROTO_XDND,
- GDK_DRAG_PROTO_ROOTWIN /* A root window with nobody claiming
+ GDK_DRAG_PROTO_ROOTWIN, /* A root window with nobody claiming
* drags */
+ GDK_DRAG_PROTO_NONE /* Not a valid drag window */
} GdkDragProtocol;
/* The color type.
{
GtkWidget *action_area, *frame;
+ gtk_widget_push_visual (gdk_rgb_get_visual ());
+ gtk_widget_push_colormap (gdk_rgb_get_cmap ());
+
colorseldiag->main_vbox = gtk_vbox_new (FALSE, 10);
gtk_container_set_border_width (GTK_CONTAINER (colorseldiag), 10);
gtk_container_add (GTK_CONTAINER (colorseldiag), colorseldiag->main_vbox);
GTK_WIDGET_SET_FLAGS (colorseldiag->help_button, GTK_CAN_DEFAULT);
gtk_box_pack_start (GTK_BOX (action_area), colorseldiag->help_button, TRUE, TRUE, 0);
gtk_widget_show (colorseldiag->help_button);
+
+ gtk_widget_pop_colormap ();
+ gtk_widget_pop_visual ();
}
GtkWidget *